package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import java.util.Date;

/**
 * 管理员对象 user_staff
 * 
 * @author ruoyi
 * @date 2020-06-24
 */
public class UserStaff extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 员工id */
    private Long staffId;

    /** 角色名称 */
    @Excel(name = "角色名称")
    private String staffName;

    /** 类型 */
    @Excel(name = "类型")
    private String staffType;

    /** 是否打开 */
    @Excel(name = "是否打开")
    private String isOpen;

    /** 备注 */
    @Excel(name = "备注")
    private String staffMs;

    /** 真实姓名 */
    @Excel(name = "真实姓名")
    private String realName;

    /** 登录姓名 */
    @Excel(name = "登录姓名")
    private String loginName;

    /** 登录密码 */
    @Excel(name = "登录密码")
    private String loginPwd;

    /** 手机号 */
    @Excel(name = "手机号")
    private String staffPhone;

    /** 固定电话号 */
    @Excel(name = "固定电话号")
    private String fixPhone;

    /** 权限开始时间 */
    @Excel(name = "权限开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 权限结束时间 */
    @Excel(name = "权限结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 公司id */
    @Excel(name = "公司id")
    private Long companyId;

    @Excel(name = "所属部门")
    private String companyName;
    @Excel(name = "部门权限")
    private Long parentId;

    @Excel(name = "系统权限")
    private String staffState;

    @Excel(name = "公司")
    private String company;

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public String getStaffState() {
        return staffState;
    }

    public void setStaffState(String staffState) {
        this.staffState = staffState;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public void setStaffId(Long staffId)
    {
        this.staffId = staffId;
    }

    public Long getStaffId() 
    {
        return staffId;
    }
    public void setStaffName(String staffName) 
    {
        this.staffName = staffName;
    }

    public String getStaffName() 
    {
        return staffName;
    }
    public void setStaffType(String staffType) 
    {
        this.staffType = staffType;
    }

    public String getStaffType() 
    {
        return staffType;
    }
    public void setIsOpen(String isOpen)
    {
        this.isOpen = isOpen;
    }

    public String getIsOpen()
    {
        return isOpen;
    }
    public void setStaffMs(String staffMs) 
    {
        this.staffMs = staffMs;
    }

    public String getStaffMs() 
    {
        return staffMs;
    }
    public void setRealName(String realName) 
    {
        this.realName = realName;
    }

    public String getRealName() 
    {
        return realName;
    }
    public void setLoginName(String loginName) 
    {
        this.loginName = loginName;
    }

    public String getLoginName() 
    {
        return loginName;
    }
    public void setLoginPwd(String loginPwd) 
    {
        this.loginPwd = loginPwd;
    }

    public String getLoginPwd() 
    {
        return loginPwd;
    }
    public void setStaffPhone(String staffPhone) 
    {
        this.staffPhone = staffPhone;
    }

    public String getStaffPhone() 
    {
        return staffPhone;
    }
    public void setFixPhone(String fixPhone) 
    {
        this.fixPhone = fixPhone;
    }

    public String getFixPhone() 
    {
        return fixPhone;
    }
    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }
    public void setCompanyId(Long companyId) 
    {
        this.companyId = companyId;
    }

    public Long getCompanyId() 
    {
        return companyId;
    }

    @Override
    public String toString() {
        return "UserStaff{" +
                "staffId=" + staffId +
                ", staffName='" + staffName + '\'' +
                ", staffType='" + staffType + '\'' +
                ", isOpen='" + isOpen + '\'' +
                ", staffMs='" + staffMs + '\'' +
                ", realName='" + realName + '\'' +
                ", loginName='" + loginName + '\'' +
                ", loginPwd='" + loginPwd + '\'' +
                ", staffPhone='" + staffPhone + '\'' +
                ", fixPhone='" + fixPhone + '\'' +
                ", startTime=" + startTime +
                ", endTime=" + endTime +
                ", companyId=" + companyId +
                ", companyName='" + companyName + '\'' +
                ", parentId='" + parentId + '\'' +
                ", staffState='" + staffState + '\'' +
                '}';
    }
}
